<template>
  <DemoNameHaHa></DemoNameHaHa>
</template>

<script>
import Demo from "./components/Child/Demo.vue";
export default {
  components: {
    [Demo.name]: Demo, // 对象里的key是变量的话[]属性名表达式
    // "DemoNameHaHa": de
  },
};
</script>


<style>
</style>